package com.reshare.mapper;

import com.reshare.base.BaseMapper;

import com.reshare.bean.Role;

import java.util.List;
import java.util.Map;


public interface RoleMapper extends BaseMapper<Role,Integer> {

    //Map<String, Object> SelectRoleList(RoleQuery query);

    Role selectRoleByName(String roleName);
    //删除角色所以资源信息
    Integer deleteModuleByRoleId(Integer roleId);
    //查询角色内容
    List<Map<String,Object>> selRoles(Integer userId);
}